//
//  LoginViewModel.h
//  BrushFace
//
//  Created by Zzz on 15/11/29.
//  Copyright © 2015年 Zzz. All rights reserved.
//
#import "BaseSceneModel.h"
#import "LoginRequest.h"

typedef enum : NSUInteger {
    TYPE_LONGIN_WX_AUTH_TOKEN_FAILE,
    TYPE_LONGIN_WX_AUTH_TOKEN_SUCCESS,
    TYPE_LONGIN_SERVER_KEY_FAILE,
    TYPE_LONGIN_SERVER_KEY_SUCCESS,
    TYPE_LONGIN_TMP_TOKEN_FAILE,
    TYPE_LONGIN_TMP_TOKEN_SUCCESS,
    TYPE_LONGIN_KEY_FAILE,
    TYPE_LONGIN_KEY_SUCCESS,
} TYPE_LONGIN;

typedef void(^LonginCb)(id recvData, TYPE_LONGIN type);
@interface LoginViewModel : BaseSceneModel <ActionDelegate>
- (void)login:(LonginCb)cb;
@end

